body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 12px/1.5 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif;
    color: #555;
    background-color: #f7f7f7;
}

fieldset,
img,
input,
button,
textarea {
    border: none;
    outline-style: none;
}


/*禁止表单域缩放*/

textarea {
    resize: none;
}

a {
    text-decoration: none;
    color: #969696;
    /* 取消链接高亮(移动端)  */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
    width: 100%;
    /* 解决图片底部对其问题 */
    display: block;
}

ul,
ol {
    list-style: none;
}


/* 把所有的标题的样式全部重置了 */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}


/* em 和 i 效果和span一样 */

em,
i {
    font-style: normal;
}


/* 提供了一些公共类 */

.fl {
    float: left;
}

.fr {
    float: right;
}


/*清除浮动*/

.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}


/*单行溢出*/

.one-txt-cut {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/*多行溢出*/

.txt-cut {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 320px) {
    html {
        font-size: 320px/15;
    }
}

@media (min-width: 360px) {
    html {
        font-size: 360px/15;
    }
}

@media (min-width: 375px) {
    html {
        font-size: 375px/15;
    }
}


/* // ctrl + d : 选中相同的选项 */

@media (min-width: 384px) {
    html {
        font-size: 384px/15;
    }
}

@media (min-width: 400px) {
    html {
        font-size: 400px/15;
    }
}

@media (min-width: 414px) {
    html {
        font-size: 414px/15;
    }
}

@media (min-width: 424px) {
    html {
        font-size: 424px/15;
    }
}

@media (min-width: 480px) {
    html {
        font-size: 480px/15;
    }
}

@media (min-width: 540px) {
    html {
        font-size: 540px/15;
    }
}

@media (min-width: 720px) {
    html {
        font-size: 720px/15;
    }
}

@media (min-width: 750px) {
    html {
        font-size: 50px;
    }
}